#pragma once

#include <QDialog>
#include <QPushButton>
#include <QLineEdit>
#include <QLabel>

namespace PublicGui
{
	class SettingReferenceDialog : public QDialog
	{
		Q_OBJECT
	public:
		SettingReferenceDialog(QWidget* parent=0,Qt::WindowFlags f=0);
		~SettingReferenceDialog();

		void setSettingValue(const QString& x,const QString& y);
		void getSettingValue(QString& x,QString& y);
	private:
		QString _xValue;
		QString _yValue;
		QLineEdit* lineEditL;
		QLineEdit* lineEditW;
		QPushButton* okButton;
		QPushButton* cancelButton;
	private slots:
		void slotEnter();
	};
}